package com.wewins.fota.common.constant;

public interface CommonConst {
    String SERVER_NAME = "fota-management";

    /**
     * about log
     */
    int LOG_OPERATE_QUERY = 1;
    int LOG_OPERATE_DOWNLOAD = 2;

    String MSG_FAIL_UNKNOWN_ERROR = "UNKNOWN_ERROR";
    String MSG_OK = "SUCCESS";


    int FOTA_UPDATE_TYPE_ALL = 0;
    int FOTA_UPDATE_TYPE_HANDLE = 1;
    int FOTA_UPDATE_TYPE_AUTO = 2;
    int DEVICE_UPDATE_TYPE_HANDLE = 0;
    int DEVICE_UPDATE_TYPE_AUTO = 1;

    int PLAN_STATUS_SUSPEND = 0;
    int PLAN_STATUS_ACTIVE = 1;

    // 任务的类型： 1 - 测试任务， 2 - 前线任务
    int PLAN_TYPE_TEST = 1;
    int PLAN_TYPE_PROD = 2;

    // 开发环境
    int ENV_DEV = 1;

    int EXPORT_ALL = FotaCode.EXPORT_ALL.getCode();


}
